Microsoft DirectX 8.1 (C++)

Objects Object

This topic applies to Windows XP Home Edition and Windows XP Professional only.

The Objects object manages a collection of objects of any type. It is used primarily for extending the object hierarchy of the Guide Store, but can also be used for manipulation of generic collections.

This object exposes the following properties and methods.

Property Description
AddNewAt Retrieves a new object and adds it to the collection at a specified index.
AddNew Retrieves a new object and adds it to the collection.
Count Retrieves the number of objects in the collection.
Item Retrieves the object at the specified index.
ItemsByKey Retrieves a sorted collection of objects that meet the specified criteria.
ItemsInTimeRange Retrieves a collection of objects whose start or end times occur within the specified range.
ItemsInverseRelatedToBy Retrieves a collection of objects inversely related to the specified object.
ItemsRelatedToBy Retrieves a collection of objects related to the specified object.
ItemsWithMetaProperty Retrieves a collection of objects that have a common MetaProperty object.
ItemsWithMetaPropertyCond Retrieves a collection of objects whose metaproperties meet a specified condition.
ItemsWithType Retrieves a collection of objects that share the same class identifier (CLSID).
ItemWithID Retrieves an object by unique identifier.
ItemWithKey Retrieves an object from a collection that was obtained by using Objects.ItemsByKey.

Method Description
AddAt Adds an object to the collection at the specified index.
Remove Removes a specified object from the repository.
RemoveAll Removes all objects in the collection from the repository.
Resync Updates the collection.
UnreferencedItems Retrieves a collection of objects that are not referenced by other objects.

Note   The Objects object does not support the IDispatch interface and cannot be used in scripts.